//
//  SuperToursimCell.m
//  Buiom_7.0
//
//  Created by lanou3g on 15/11/2.
//  Copyright © 2015年 triffe. All rights reserved.
//

#import "SuperToursimCell.h"

@implementation SuperToursimCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
       // 加载视图的
        [self addSubviews];
    }
    return self;
}

- (void)addSubviews
{
    self.imagesView = [[UIImageView alloc] initWithFrame:CGRectMake(5, 5, KsWidth - 10, 190)];
    [self.contentView addSubview:self.imagesView];
    
    self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(30, 20, 80, 30)];
    self.titleLabel.backgroundColor = [UIColor darkGrayColor];
    self.titleLabel.alpha = 0.5;
    self.titleLabel.textAlignment = NSTextAlignmentCenter;
    self.titleLabel.textColor = [UIColor whiteColor];
    [self.imagesView addSubview:self.titleLabel];
    
    
    self.descLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 160, KsWidth - 40, 30)];
    self.descLabel.backgroundColor = [UIColor darkGrayColor];
    self.descLabel.alpha = 0.7;
    self.descLabel.textAlignment = NSTextAlignmentCenter;
    self.descLabel.textColor = [UIColor whiteColor];
    [self.imagesView addSubview:_descLabel];
}













- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
